<%--
网站: <a href="http://www.crazyit.org">疯狂Java联盟</a>
author yeeku.H.lee kongyeeku@163.com 公众号: fkbooks
version 1.0
Copyright (C), 2001-2020, yeeku.H.Lee
This program is protected by copyright laws.
Program Name:
Date: 
--%>

<%@ page contentType="text/html; charset=utf-8" language="java" errorPage="" %>
<%@taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<!DOCTYPE html>
<html>
<head>
	<meta name="author" content="Yeeku.H.Lee(CrazyIt.org)" />
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link rel="stylesheet" href="${pageContext.request.contextPath}/res/bootstrap-4.3.1/css/bootstrap.min.css">
	<script src="${pageContext.request.contextPath}/res/jquery-3.4.1.min.js">
	</script>
	<script src="${pageContext.request.contextPath}/res/bootstrap-4.3.1/js/bootstrap.min.js">
	</script>
	<title><spring:message code="login_title"/></title>
</head>
<body>
<div class="container">
<img src="${pageContext.request.contextPath}/imgs/logo.gif" 
class="rounded mx-auto d-block"><h4><spring:message code="login_title"/></h4>
<form method="post" action="login">
<div class="form-group row">
	<label for="username" class="col-sm-3 col-form-label">
	<spring:message code="name_label"/></label>
	<div class="col-sm-9">
		<input type="text" id="username" name="username" 
			class="form-control" placeholder="<spring:message code='name_hint'/>">
	</div>
</div>
<div class="form-group row">
	<label for="pass" class="col-sm-3 col-form-label">
	<spring:message code="password_label"/></label>
	<div class="col-sm-9">
		<input type="password" id="pass" name="pass" 
			class="form-control" placeholder="<spring:message code='password_hint'/>">
	</div>
</div>
<div class="form-group row">
	<div class="col-sm-6 text-right">
		<button type="submit" class="btn btn-primary">
		<spring:message code="login_btn"/></button>
	</div>
	<div class="col-sm-6">
		<button type="reset" class="btn btn-danger">
		<spring:message code="reset_btn"/></button>
	</div>
</div>
</form>
</div>
</body>
</html>